﻿using BusinessService.Plugin.Entity;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BusinessService.Plugin.DataSource.Sqlite.Dtos
{
    public class SqliteLibraryInput
    {

        /// <summary>
        /// 协议类型
        /// </summary>
        public string  V_ProtocolType { get; set; }

       
        public  ParameterSettings mainTable { get; set; } =new ();
        /// <summary>
        /// Socket数据设置
        /// </summary>
        public SocketDataSourceSet SocketDataSourceSet { get; set; }=new ();

        public int MyProperty { get; set; }
        public List<FilterTable> whereEx { get; set; } =new  ();
        public List<SelectFields> SelectFields { get; set; } = new ();
    }
    public class JsonInput
    {
        /// <summary>
        /// Json对象名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 协议类型
        /// </summary>
        public string ProtocolType { get; set; }
        /// <summary>
        /// 数据源集合
        /// </summary>
        public string DataSourceList { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }


  public  class AllSetQueryInput
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long N_Id { get; set; }
        /// <summary>
        /// 角色【1：接收端，2：发送端】
        /// </summary>
        public int N_Role { get; set; }
        /// <summary>
        /// 协议类型[http,MQTT,Socket]
        /// </summary>
        public string V_ProtocolType { get; set; } = string.Empty;


    }


}
